package com.czz.portal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.czz.portal.entity.CourseConsult;
import com.czz.portal.query.ConsultQuery;
import com.czz.portal.vo.ConsultVo;
import com.czz.portal.vo.OrderConsultVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName: CourseConsultMapper
 * @Author Czz
 * @Date 2020/2/11
 * @Time 20:24
 **/
public interface CourseConsultMapper extends BaseMapper<CourseConsult> {
    List<ConsultVo> getConsultVoPageList(Page<ConsultVo> pageParam, @Param("query") ConsultQuery consultQuery);
    void consultLikeReduce(String consult);
    void consultLikePlus(String consult);
    List<OrderConsultVo> getOrderConsultPageList(Page<OrderConsultVo> pageParam,String userId);
}
